import instance from "@/utils/request";

//省去了return+{}
export const doRegister = (data) => instance.post('/api/user/reg', data)
export const doCheckphone = (data) => instance.post("/api/user/docheckphone", data)
export const doSendmsgcode = (data) => instance.post("/api/user/dosendmsgcode", data)
export const doCheckcode = (data) => instance.post("/api/user/docheckcode", data)
export const doLogin = (data) => instance.post("/api/user/login", data)